package com.lightkits.wms.dto.saleticket;

import com.lightkits.framework.soa.common.types.PagedRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author jing.wei@hand-china.com
 * @date 2019/6/28 10:44
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
public class GetSimSaleRequestType extends PagedRequest {
    /**
     * 售货单单据号
     */
    @NotNull(message = "SaleTicket Number is not null")
    @NotEmpty
    private String saleTicketNum;

    /**
     * 组织ID
     */
    @NotNull(message = "Organization Id is not null")
    @NotEmpty
    private String orgId;
}
